package com.ruoyi.common.core.cg.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 *
 * @TableName leader
 */

public class Leader implements Serializable {
    /**
     * 团长Id
     */

    private Integer id;

    /**
     * 级别 1 2 3
     */
    private Integer level;

    /**
     * 团长姓名
     */
    private String name;

    /**
     * 电话
     */
    private String phone;

    /**
     * 身份证
     */
    private String idcard;

    /**
     * 邀请码
     */
    private String invitationCode;

    /**
     * 营业金额
     */
    private BigDecimal money;

    /**
     * 录入时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;
    private String password;
    //    团长拥有几个的拼团点
    private Integer groupCount;
    //    团长拥有几个的商铺
    private Integer storeCount;
    //团战所负责的拼团点
    private String communityName;
    private Integer pageNum;
    private Integer pageSize;

    @Override
    public String toString() {
        return "Leader{" +
                "id=" + id +
                ", level=" + level +
                ", name='" + name + '\'' +
                ", phone='" + phone + '\'' +
                ", idcard='" + idcard + '\'' +
                ", invitationCode='" + invitationCode + '\'' +
                ", money=" + money +
                ", createTime=" + createTime +
                ", password='" + password + '\'' +
                ", groupCount=" + groupCount +
                ", storeCount=" + storeCount +
                ", communityName='" + communityName + '\'' +
                '}';
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getIdcard() {
        return idcard;
    }

    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }

    public String getInvitationCode() {
        return invitationCode;
    }

    public void setInvitationCode(String invitationCode) {
        this.invitationCode = invitationCode;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getGroupCount() {
        return groupCount;
    }

    public void setGroupCount(Integer groupCount) {
        this.groupCount = groupCount;
    }

    public Integer getStoreCount() {
        return storeCount;
    }

    public void setStoreCount(Integer storeCount) {
        this.storeCount = storeCount;
    }

    public String getCommunityName() {
        return communityName;
    }

    public void setCommunityName(String communityName) {
        this.communityName = communityName;
    }
}

